<template>
    <div class="destail2">
        <div class="destail22">
            <ul class="ul1">
                <li class="clearfix">
                    <span class="spa">单位名称</span>
                    <em>{{listArr.ProjectName}} </em>
                </li>
                <li class="clearfix" >
                    <span class="spa">分部工程</span>
                    <em>{{listArr.SubSectionProject}}</em>
                </li>
                <li class="clearfix" >
                    <span class="spa">分项工程</span>
                    <em>{{listArr.SubProject}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">危险源</span>
                    <em>{{listArr.Hazards}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">危险因素</span>
                    <em>{{listArr.RiskFactors}}</em>
                </li>
                <li class="clearfix" >
                    <span class="spa">可能导致的事故类别</span>
                    <em>{{listArr.AccidentType}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">危险后果分类</span>
                    <em>{{listArr.Consequence}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">事故发生的可能性L</span>
                    <em>{{listArr.L}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">暴露的危险环境频繁程度E</span>
                    <em>{{listArr.E}} </em>
                </li>
                <li class="clearfix" >
                    <span class="spa">发生事故产生的后果C</span>
                    <em>{{listArr.C}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">D=L*E*C</span>
                    <em>{{listArr.D}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">风险等级</span>
                    <em>{{listArr.SourceLevel}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">是否为重大风险</span>
                    <em>{{listArr.IsBigSource}}</em>
                </li>
                <li class="clearfix" >
                    <span class="spa">管控措施</span>
                    <em>{{listArr.ControlMeasure}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">管控级别</span>
                    <em>{{listArr.ControlLevel}}</em>
                </li>
                <li class="clearfix">
                    <span class="spa">管控部门</span>
                    <em>{{listArr.ControlDepartment}}</em>
                </li>
            </ul>
            <div class="destail22Box">
                <h2>监控记录</h2>
                <div class="queryDiv_top">
                    <ul class="ul11">
                        <li class="clearfix" style="border-bottom:1px solid #eeee">
                            <ul>
                                <li class="spa2">监控内容</li>
                                <li class="spa3">{{listArr.MoniToringContent}} </li>
                            </ul>
                        </li>
                        <li class="clearfix" style="border-bottom:1px solid #eeee">
                            <ul>
                                <li class="spa2">监控地点</li>
                                <li class="spa3">{{listArr.MoniToringSite}} </li>
                            </ul>
                        </li>
                        <li class="li clearfix">
                            <span class="spa">监控开始时间</span>
                            <datetime v-model="listArr.MoniToringStartTime"></datetime>
                        </li>
                        <li class="li clearfix">
                            <span class="spa">监控结束时间</span>
                            <datetime v-model="listArr.MoniToringEndTime"></datetime>
                        </li>
                        <li class="li clearfix">
                            <span class="spa">是否已交底</span>
                            <em>{{listArr.DisClose}} </em>
                        </li>
                        <li class="li clearfix">
                            <span class="spa">监控人员</span>
                            <em>{{listArr.MoniToringPerSonnel}} </em>
                        </li>
                        <li class="li clearfix">
                            <span class="spa">监控责任人员</span>
                            <em>{{listArr.GoodsDutyName}} </em>
                        </li>
                        <li class="clearfix" style="border-bottom:1px solid #eeee">
                            <ul>
                                <li class="spa2">监控过程记录</li>
                                <li class="spa3">{{listArr.MoniToringRecord}}</li>
                            </ul>
                        </li>
                        <li class="li clearfix">
                            <span class="spa">危险源是否受控</span>
                            <em>{{listArr.IsConTrolled}} </em>
                        </li>
                        <li class="clearfix" style="border-bottom:1px solid #eeee">
                            <ul class="clearfix">
                                <li class="spa2">监控图片</li>
                                <li class="spa3 clearfix" >
                                    <img :src="item" alt="" v-for="(item,index) in listArr.Files" :key="index">
                                    <!-- <img src="http://192.168.1.2/NZCGJSMS/Upfile/RiskDynamicManagement/0bb39042-e0a1-4523-b8ef-8274ac3e55bc.jpeg" alt=""> -->
                                </li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
        <myMenu @clickBack="back"></myMenu>
    </div>
</template>
<script>
import { Actionsheet, Cell, Group, CellBox } from 'vux'
import myMenu from '@/commonComponents/menu'
export default {
  components: {
    Actionsheet,
    Group,
    Cell,
    CellBox,
    myMenu
  },
  data () {
      return {
        aa: '',
        listArr: []
      }
  },
  created () {
      this.listArr = JSON.parse(window.sessionStorage.getItem('arr2'))
  },
  mounted () {

  },
  methods: {
      back () {

      }
  }
}
</script>
<style lang="less" scoped>
.destail2{
    width: 100%;
    height: 100%;
    .destail22{
        height: 100%;
        width: 100%;
        background-color: #ebeef2;
        padding-top: 10px;
        .ul1{
            width: 100%;
            padding: 0 10px;
            background-color: #fff;
            margin-bottom: 10px;
            li,li .ul_in{
                padding: 10px 0;
                border-bottom:1px solid #eee;
                width: 100%;
                height: 50px;
                line-height: 30px;
                position: relative;
                .vux-x-icon{
                    fill: #999;
                    float: right;
                    position: absolute;
                    top: 12px;
                    right: -10px;
                }
                .spa{
                    // float: left;
                    width: 136px;
                    font-size: 14px;
                    color:#333;
                }
                .spaTitle{
                    float: left;
                    height: 30px;
                    line-height: 30px;
                    font-size: 16px;
                    width: 196px;
                    color: #2269ff;
                }
                em{
                    float: right;
                    width: 180px;
                    height: 30px;
                    font-size: 14px;
                    line-height: 30px;
                    text-align: right;
                    margin-right: 10px;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    .sp{
                        color: red!important;
                    }
                }
                .vux-cell-value{
                    float: right;
                    margin-right: 20px;
                }
            }
        }
        .destail22Box{
            h2{
                color: #2269ff;
                text-align: left;
                padding: 0 10px;
                height: 40px;
                line-height: 40px;
                box-sizing: border-box;
                background-color: #eee;
                em{
                    width: 80px;
                    height: 20px;
                    line-height: 20px;
                    text-align: center;
                    border-radius: 15px;
                    border: 1px solid #2269ff;
                    float: right;
                    font-size: 12px;
                    margin-top: 12px;
                }
            }
            .destail{
                width: 100%;
                background-color: #fff;
                li{
                    width: 100%;
                    height: 40px;
                    line-height: 40px;
                    padding-left: 20px;
                    box-sizing: border-box;
                p{
                        width: 300px;
                        float: left;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                }
                    .vux-x-icon{
                        fill:#000;
                        float: right;
                        width: 20px;
                        height: 20px;
                        margin: 10px 10px 0 0;
                    }
                }
            }
            .queryDiv_top{
                width: 100%;
                padding-bottom: 1px;
                background-color: #fff;
                .ul11{
                    padding: 0 10px;
                    .li{
                        padding: 10px 0;
                        border-bottom:1px solid #eee;
                        width: 100%;
                        height: 50px;
                        line-height: 30px;
                        position: relative;
                        font-size: 16px;
                        display: flex;
                        .vux-x-icon{
                            fill: #999;
                            float: right;
                            position: absolute;
                            width: 20px;
                            height: 20px;
                            top: 15px;
                            right: -10px;
                        }
                        .spa{
                            float: left;
                            height: 30px;
                            line-height: 30px;
                            width: 140px;
                            color: #333;
                            font-size: 14px!important;
                            i{
                                color: #fe0100;
                            }
                        }
                        .h4{
                            width: 375px;
                        }
                        em{
                            float: right;
                            color: #999;
                            width: 200px;
                            height: 30px;
                            font-size: 12px;
                            line-height: 30px;
                            text-align: right;
                            margin-right: 10px;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                            div{
                                float: right;
                                margin-left: 20px;
                                width: 64px;
                                position: relative;
                                text-align: right;
                                color: #999;
                                input{
                                    width: 16px;
                                    height: 16px;
                                    position: absolute;
                                    top:6px;
                                    left: 10px;
                                    text-align: center;
                                }
                            }
                        }
                        h5{
                            width: 375px;
                            float: left;
                        }
                        .weui-cell{
                            padding: 0;
                            height: 28px;
                            z-index: 999999;
                            width: 259px;
                            height: 28px;
                        }
                        .vux-cell-value{
                            float: right;
                            width: 238px;
                            height: 28px;
                            font-size: 12px;
                            text-align: right;
                            color: #999;
                            margin-right: 10px;
                        }
                        .weui-cell_access .weui-cell__ft:after{
                            top: 46%;
                            width: 8px;
                            height: 8px;
                            content:0;
                        }
                        .vux-datetime .weui-cell .weui-cell_access {
                            width: 259px;
                            height: 28px;
                        }
                    }
                    .spa2{
                        float: left;
                        min-height: 30px;
                        line-height: 30px;
                        width:100%;
                        color: #333;
                        font-size: 14px!important;
                        i{
                            color: #fe0100;
                        }
                    }
                    .spa3{
                        min-height: 30px;
                        line-height: 24px;
                        width:100%;
                        color: #999;
                        font-size: 14px!important;
                        img{
                            width: 60px;
                            height: 60px;
                        }
                    }
                }
                .queryBtn{
                    height: 30px;
                    line-height: 30px;
                    margin: 25px auto;
                    text-align: center;
                    width: 300px;
                    border-radius: 25px;
                    background-color: #2269ff;
                    letter-spacing: 4px;
                    color: #fff;
                }
            }
        }

    }
    .weui-cell{
        border-bottom:0!important;
    }
    .vux-label{
        font-size: 16px;
    }
    .weui-cells{
        margin-top: 0;
    }
    .weui-cell__ft{
        em{
            font-size: 14px;
        }
    }
    .dele{
        overflow: hidden;
        background-color: #fff;
        .list-item{
            position: relative;
            height: 120px;
            -webkit-transition: all 0.2s;
            transition: all 0.2s;
            border-bottom: 1px solid #eee;
            .list-box{
                padding:0 10px;
                display: flex;
                align-items: center;
                -webkit-box-sizing: border-box;
                box-sizing: border-box;
                justify-content: flex-end;
                position: absolute;
                top: 0;
                right: 0;
                bottom: 0;
                left: 0;
                font-size: 0;
                .list_Left{
                    float: left;
                    width: 220px;
                    height: 120px;
                    h2{
                        width: 100%;
                        font-size: 18px;
                        margin-top: 14px;
                    }
                    p{
                        font-size: 16px;
                        width: 100%;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                        margin-top: 14px;
                    }
                    h5{
                        margin-top: 14px;
                        font-size: 16px;
                        width: 100%;
                        em{
                            color: #ffb400;
                        }
                    }
                }
                .list_Right{
                    width: 150px;
                    height: 126px;
                    float: right;
                    padding: 14px 0;
                    img{
                        width: 100%;
                        height: 100%;
                        // border: 1px solid #fff;
                        border-radius: 5px;
                    }
                }
            }
        }
        .n1{
            color: #fe0100
        }
        .n2{
            color: #ff7034
        }
    }
    .affirm-wrap {
        position: fixed;
        z-index: 5;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ebeef2;
    }
    .standard-name span{
        margin-left: 20px;
        font-size: 16px;
    }
    .iconfont{
        margin-left: 20px;
    }
    .item-wrap {
        background: #fff;
        position: relative;
        z-index: 2;
        margin-top: 5px;
    }
}
</style>
